const getters = {
  token: state => state.user.token,
  permission: state => state.user.permission,
  routes: state => state.permission.routes,
  userName: state => state.user.userName
};
export default getters;
